package com.clarence.dada.modular.system.user.service;


import com.clarence.dada.modular.system.user.entity.resp.DragCaptchaImageResp;

/**
 * 拖拽验证码
 *
 * @author GD
 * @since 2021/7/5 12:05
 */
public interface DragCaptchaService {

    /**
     * 生成拖拽验证码的返回值
     *
     * @author GD
     * @since 2021/7/5 11:55
     */
    DragCaptchaImageResp createCaptcha();

    /**
     * 验证拖拽验证码
     *
     * @author GD
     * @since 2021/7/5 11:55
     */
    boolean validateCaptcha(String verKey, Integer verCode);

}
